﻿<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title></title>
    <script src="~/js/frame.js"></script>
</head>
<body>
    <div class="container-fluid">
        <form id="form">
            <div class="formrow">
                <div class="col-xs-6">
                    <div class="formtitle">忽略前缀</div>
                    <div class="formcontent">
                        <input name="Prefix" type="text" class="form-control " placeholder="">
                    </div>
                </div>
                <div class="col-xs-6">
                    <div class="formtitle required">命名空间</div>
                    <div class="formcontent">
                        <input name="NameSpace" type="text" class="form-control required" placeholder="">
                    </div>
                </div>
            </div>
            <div class="formrow">
                <div class="col-xs-6">
                    <div class="formtitle required">Controller路由</div>
                    <div class="formcontent">
                        <input name="ClassRoute" type="text" class="form-control required" placeholder="">
                    </div>
                </div>
                <div class="col-xs-6">
                    <div class="formtitle required">Page路由</div>
                    <div class="formcontent">
                        <input name="PageRoute" type="text" class="form-control required" placeholder="">
                    </div>
                </div>
            </div>
            <div class="row formbtnop">
                <button class="btn btn-primary cloudbtn" type="button" onclick="Save()">生成代码</button>
                <button class="btn cloudbtn" type="button" onclick="Close()">关 闭</button>
            </div>
        </form>
    </div>
    <script>
        var validator = $("#form").validate();
        $(function () {

        })

        function Save() {
            if (validator.form()) {
                var param = $("#form").GetForm();
                CloseDialog(param);
            }
        }
        function Close() {
            CloseDialog();
        }
    </script>
</body>
</html>
